using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel.Composition;

namespace Toolbox.Plugin
{
    [AttributeUsage(AttributeTargets.Class, AllowMultiple = false), MetadataAttribute]
    public class PluginThreadAttribute : Attribute
    {
        public int MaxInstances { get; private set;}
       
        public PluginThreadAttribute(int maxInstances)
        {
            this.MaxInstances = maxInstances;
        }

        public PluginThreadAttribute()
        {
            this.MaxInstances = 10;
        }
    }
}
